SRCS:=$(wildcard *.c)
EXES:=$(SRCS:%.c=%)
#all:
#	for i in $(EXES);do gcc $$i.c -o $$i ;done
all:$(EXES)
%:%.c
	gcc $^ -o $@ -g -lpthread
